import request from '@/utils/request'

// 查询项目参与学生表列表
export function listProjectStudents(query) {
  return request({
    url: '/ProjectStudents/ProjectStudents/list',
    method: 'get',
    params: query
  })
}

// 查询项目参与学生表详细
export function getProjectStudents(id) {
  return request({
    url: '/ProjectStudents/ProjectStudents/' + id,
    method: 'get'
  })
}

// 新增项目参与学生表
export function addProjectStudents(data) {
  return request({
    url: '/ProjectStudents/ProjectStudents',
    method: 'post',
    data: data
  })
}

// 修改项目参与学生表
export function updateProjectStudents(data) {
  return request({
    url: '/ProjectStudents/ProjectStudents',
    method: 'put',
    data: data
  })
}

// 删除项目参与学生表
export function delProjectStudents(id) {
  return request({
    url: '/ProjectStudents/ProjectStudents/' + id,
    method: 'delete'
  })
}
